#!/bin/bash

for dir in `ls -d */` ;  do 
   cd $dir
   if [ -d model ] ; then 
      cd model
      make cleanall
      cd ../..
   else
      cd ..
   fi
done
